package sipus.database.model;

// Generated Apr 16, 2010 2:27:16 PM by Hibernate Tools 3.2.4.CR1

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.envers.Audited;

/**
 * Bank generated by hbm2java
 */
@Entity
@Audited
@Table(schema = "public", name = "konfigurasi")
public class Konfigurasi implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2463821577548439808L;
	private Long id;
	private String oleh;public String toString(){return nama;}

	public void setOleh(String oleh) {
		this.oleh = oleh;
	}

	public String getOleh() {
		return oleh;
	}

	private Date tanggal_dirubah = new Date();

	public void setTanggal_dirubah(Date tanggal_dirubah) {
		this.tanggal_dirubah = tanggal_dirubah;
	}

	@Temporal(TemporalType.TIMESTAMP)
	public Date getTanggal_dirubah() {
		return tanggal_dirubah;
	}

	private String nama;
	private String nilai;
	private String keterangan;
	private String tahunAkademik;
	private String info1;
	private String info2;
	private String info3;
	private String info4;
	private String info5;

	public Konfigurasi() {
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", insertable = false, unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "nama", nullable = false, unique = false, length = 255)
	public String getNama() {
		return this.nama;
	}

	public void setNama(String nama) {
		this.nama = nama;
	}

	@Column(name = "keterangan", nullable = true)
	public String getKeterangan() {
		return this.keterangan;
	}

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}

	public void setNilai(String nilai) {
		this.nilai = nilai;
	}

	public String getNilai() {
		return nilai;
	}

	public void setTahunAkademik(String tahunAkademik) {
		this.tahunAkademik = tahunAkademik;
	}

	@Column(name = "tahun_akademik", nullable = true)
	public String getTahunAkademik() {
		return tahunAkademik;
	}

	public void setInfo1(String info1) {
		this.info1 = info1;
	}

	public String getInfo1() {
		return info1;
	}

	public void setInfo2(String info2) {
		this.info2 = info2;
	}

	public String getInfo2() {
		return info2;
	}

	public void setInfo3(String info3) {
		this.info3 = info3;
	}

	public String getInfo3() {
		return info3;
	}

	public void setInfo5(String info5) {
		this.info5 = info5;
	}

	public String getInfo5() {
		return info5;
	}

	public void setInfo4(String info4) {
		this.info4 = info4;
	}

	public String getInfo4() {
		return info4;
	}

}
